#!/usr/bin/env python3
# -*-coding : utf-8 -*-
# @time     : 2019/9/22 0022 下午 6:08
# @Author   : Administrator
# @FileName : 爬取豆瓣电影中更多的电影信息.py
# --------------------------------------------------------

"""
描述信息
"""
import requests

# UA伪装
headers = {
    "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0"
}
params = {
    "type": 5,
    "interval_id": "100:90",
    "action": "",
    "start": "20",
    "limit": "20",
}
# 指定url
url = "https://movie.douban.com/j/chart/top_list"
response = requests.get(url=url, params=params, headers=headers)
response.encoding = "utf8"
obj_json = response.json()
print(obj_json)
